<!DOCTYPE html>
<html>
<head>
    <title>办卡评估</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../public/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../public/css/font-awesome.min.css">
    <link rel="stylesheet" href="../../public/plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../public/plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../public/css/main.css">
    <script src="../../public/libs/jquery.min.js"></script>
    <script src="../../public/plugins/layer/layer.js"></script>
    <script src="../../public/libs/bootstrap.min.js"></script>
    <script src="../../public/libs/vue.min.js"></script>
    <script src="../../public/plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../public/plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../public/plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../public/plugins/upload/ajaxfileupload.js"></script>
    <script src="../../public/js/common.js"></script>
    <style>
        .table_title {
            background: #f1f2f3;
            text-align: right;
        }
    </style>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <a v-if="hasPermission('oem:yb:access:info')" class="btn btn-primary" @click="info" ><i class="fa fa-plus"></i>&nbsp;详细</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList">
        <fieldset class="layui-elem-field">
            <legend>用户评估信息</legend>
            <div class="layui-field-box">
                <table class="table table-bordered">
                    <tr>
                        <td class="table_title col-md-3">用户名：</td>
                        <td class="col-md-3">{{access.username}}</td>
                        <td class="table_title col-md-3">手机号：</td>
                        <td class="col-md-3">{{access.phone}}</td>
                    </tr>
                    <tr>
                        <td class="table_title">身份证：</td>
                        <td>{{access.idCard}}</td>
                        <td class="table_title">所在城市：</td>
                        <td>{{access.city}}</td>
                    </tr>
                    <tr>
                        <td class="table_title">所在地址：</td>
                        <td>{{access.address}}</td>
                        <td class="table_title">工作单位：</td>
                        <td>{{access.companyName}}
                        </td>
                    </tr>
                    <tr>
                        <td class="table_title">单位地址：</td>
                        <td>{{access.companyAddress}}</td>
                        <td class="table_title">申请时间：</td>
                        <td>{{access.createDate}}</td>
                    </tr>
                    <tr>
                        <td class="table_title">学历信息：</td>
                        <td>
                            <span v-if="access.edu==0">初中</span>
                            <span v-if="access.edu==1">中专</span>
                            <span v-if="access.edu==2">大专</span>
                            <span v-if="access.edu==3">本科及以上</span>
                        </td>
                        <td class="table_title">住房信息：</td>
                        <td>
                            <span v-if="access.house==0">全款商品房</span>
                            <span v-if="access.house==1">按揭商品房</span>
                            <span v-if="access.house==2">拆迁安置房</span>
                            <span v-if="access.house==3">宅基地自建房</span>
                            <span v-if="access.house==4">购地自建房</span>
                            <span v-if="access.house==5">租房</span>
                            <span v-if="access.house==6">单位住房</span>
                            <span v-if="access.house==7">亲戚住房</span>
                            <span v-if="access.house==8">厂房住房</span>
                            <span v-if="access.house==9">其他</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="table_title">信用卡信息：</td>
                        <td>
                            <span v-if="access.card==0">无信用卡</span>
                            <span v-if="access.card==1">有单张信用卡</span>
                            <span v-if="access.card==2">有3张以下</span>
                            <span v-if="access.card==3">有3张以上</span>
                        </td>
                        <td class="table_title">工作信息：</td>
                        <td>
                            <span v-if="access.work==0">普通上班族</span>
                            <span v-if="access.work==1">白领上班族</span>
                            <span v-if="access.work==2">公务员事业单位</span>
                            <span v-if="access.work==3">个体工商户</span>
                            <span v-if="access.work==4">企业主</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="table_title">社保情况：</td>
                        <td>
                            <span v-if="access.social==0">无</span>
                            <span v-if="access.social==1">缴纳半年</span>
                            <span v-if="access.social==2">缴纳1年</span>
                            <span v-if="access.social==3">缴纳1年以上</span>
                        </td>
                        <td class="table_title">单位信息：</td>
                        <td>
                            <span v-if="access.company==0">国有</span>
                            <span v-if="access.company==1">机关事业</span>
                            <span v-if="access.company==2">外商独资</span>
                            <span v-if="access.company==3">民营</span>
                            <span v-if="access.company==4">合资/合作</span>
                            <span v-if="access.company==5">股份制</span>
                            <span v-if="access.company==6">个体私营</span>
                            <span v-if="access.company==7">其他</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="table_title">信用卡额度：</td>
                        <td>
                            <span v-if="access.cardMoney==0">最高额度3万以下</span>
                            <span v-if="access.cardMoney==1">最高额度5万以下</span>
                            <span v-if="access.cardMoney==2">最高额度10万以下</span>
                            <span v-if="access.cardMoney==3">最高额度30万以下</span>
                        </td>
                        <td class="table_title">工作证明：</td>
                        <td>
                            <span v-if="access.workProve==0">工牌</span>
                            <span v-if="access.workProve==1">营业执照</span>
                            <span v-if="access.workProve==2">工作证明</span>
                            <span v-if="access.workProve==3">名片</span>
                            <span v-if="access.workProve==4">无工作证明</span>
                        </td>
                    </tr>
                </table>
                <div class="col-sm-12 text-center" style="margin-top: 20px">
                    <input v-if="access.status==0" type="button" class="btn btn-primary" @click="handel" value="处理"/>
                    &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
                </div>
            </div>
        </fieldset>
    </div>

</div>

<script src="../../public/js/oem/ybAccess.js"></script>
</body>
</html>